package com.sellerSystem.vo;

public class Demo {

	/**
	 * 主键，订单号，时间，商品信息，收货人，顾客，跟地址表关联的东西，金额，付款方式，订单状态，备注
	 *
	 */

	// 使用序列自增长作为订单的唯一标识

	private Integer orderId;

	// 商品数量
	private int orderNumber;

	// 订购时间
	private String orderTime;

	// 一个订单对应一个商品
	private Integer commodityId;

	// 订单商品的卖家姓名
	private String sellerName;

	// 每个订单由一位 买家所创建 买家的id
	private Integer customerId;

	// 收货人
	private String receiver;

	// 收货人手机号
	private String receiverTel;

	// 总价
	private double money;

	private int orderStatus;// 订单状态：0：取消过的订单，1：正常完成的订单，2：未付款的订单，3：付款完成但还没有发货的订单

	private String evaluation;// 订单评价

	private String orderTip;// 备注

	public String getEvaluation() {
		return evaluation;
	}

	public void setEvaluation(String evaluation) {
		this.evaluation = evaluation;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public int getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(int orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public Integer getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(Integer commodityId) {
		this.commodityId = commodityId;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderTip() {
		return orderTip;
	}

	public void setOrderTip(String orderTip) {
		this.orderTip = orderTip;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getReceiverTel() {
		return receiverTel;
	}

	public void setReceiverTel(String receiverTel) {
		this.receiverTel = receiverTel;
	}

	public Demo(Integer orderId, int orderNumber, String orderTime,
			Integer commodityId, String sellerName, Integer customerId,
			String receiver, String receiverTel, double money, int orderStatus,
			String evaluation, String orderTip) {
		super();
		this.orderId = orderId;
		this.orderNumber = orderNumber;
		this.orderTime = orderTime;
		this.commodityId = commodityId;
		this.sellerName = sellerName;
		this.customerId = customerId;
		this.receiver = receiver;
		this.receiverTel = receiverTel;
		this.money = money;
		this.orderStatus = orderStatus;
		this.evaluation = evaluation;
		this.orderTip = orderTip;
	}

}
